#include <iostream>
#include "Daemon.hpp"
#include "server.hpp"

#define HOST "127.0.0.1"
#define PORT 3306
#define USER "root"
#define PASSWORD "Xsc.200411"

int main()
{
    // 守护进程化
    //Daemon(0, 0);

    gobang_server gobang(HOST, PORT, USER, PASSWORD, "gobang");
    gobang.start(8080);

    return 0;
}